﻿@model List<etracks.Web.ProjectTypeReadOnlyViewModel>
<table class="table table-hover table-striped">

    <thead>
        <tr>
            <th class="col-md-1">Id</th>
            <th class="col-md-3">Name</th>
            
            <th class="col-md-8"></th>
        </tr>
    </thead>

    <tbody>

        @foreach (etracks.Web.ProjectTypeReadOnlyViewModel ProjectType in Model)
        {
            <tr>
                <td>
                    @Html.ActionLink(" ", "Edit", "ProjectType", new { id = ProjectType.Id }, new { @class = "glyphicon glyphicon-edit", style = "text-decoration:none;" })
                    @ProjectType.Id
                </td>
                <td>
                    @*@Html.ActionLink(ProjectType.Name, "View", "ProjectType", new { id = ProjectType.Id }, new { style="text-decoration:none" })*@
                    @ProjectType.Name
                </td>
                <td></td>
            </tr>
        }

    </tbody>

</table>